package com.zdj.data.services;

import com.zdj.data.entity.User;

import java.util.ArrayList;
import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;


/**
 * Created by zdj on 16-5-29.
 */

public interface IUserService {
    @GET("user_{userId}.json")
    Observable<User> loadUser(@Path("userId") String userId);

    @GET("users.json")
    Observable<List<User>> loadUsers();
}
